export interface Word {
  id: number;
  word: string;
  translation: string;
  partOfSpeech: string;
  definition: string;
  example: string;
  exampleTranslation: string;
}

export interface Question {
  id: number;
  type: 'multiple-choice' | 'fill-in-blank';
  question: string;
  options?: string[];
  correctAnswer: string;
  explanation: string;
}

export interface ChartDataPoint {
  name: string;
  words: number;
}

export interface Stats {
  wordsLearned: number;
  wordsLearnedChange: number;
  practiceScore: number;
  practiceScoreChange: number;
  chartData: ChartDataPoint[];
}

export interface Streak {
  current: number;
  best: number;
}

export interface Badge {
  id: number;
  name: string;
  description: string;
  type: 'star' | 'trophy' | 'medal';
  rarity: 'common' | 'rare' | 'epic' | 'legendary';
}

export interface ProgressData {
  stats: Stats;
  streak: Streak;
  badges: Badge[];
}

export interface PracticeAnswer {
  [key: number]: string;
}
